package one.stand.request.coupon;

import io.swagger.annotations.ApiParam;
import lombok.Data;
import one.stand.request.BaseRequest;

import javax.validation.constraints.NotNull;

/**
 * 商品优惠券查询
 *
 * @author makejava
 */
@Data
public class GoodsCouponQuery extends BaseRequest {

    /**
     * 公司id
     */
    @ApiParam(value = "公司id")
    @NotNull(message = "公司不能为空")
    private Long companyId;

    @ApiParam(value = "用户id")
    private Integer userId;

}
